package com.design.model.mediator;

/**
 * @program: study
 * @className: ConcreteColleagueA
 * @description: TODO
 * @author: kukuxiahuni
 * @create: 2019-06-27 17:05
 * @version: v1.0
 **/
public class ConcreteColleagueA extends Colleague {

    public ConcreteColleagueA(Mediator mediator) {
        super(mediator);
    }

    public void send(String message) {
        this.mediator.send(message, this);
    }

    /**
     * 功能描述: TODO
     *
     * @param:
     * @return:
     * @auther: kukuxiahuni
     * @date: 2019/6/27 5:14 PM
     * @modify_auther: kukuxiahuni
     * @modify_time: 2019/6/27 5:14 PM
     **/
    public void notify(String message) {
        System.out.printf("A say: %s \n", message);
    }
}
